xen/arm: Use the new functions for vCPUID/vaffinity transformation
authorChen Baozi <baozich@gmail.com>
Tue, 30 Jun 2015 08:00:17 +0000 (16:00 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 3 Jul 2015 10:11:27 +0000 (11:11 +0100)
commitbc5deb5930e7207e386999537512f0c737219263
tree598e84e2845f1c2c22c2f4f40d50149a9be40d53
parent53d60a7af68fa939bec8bb77c00589094cd4b440
xen/arm: Use the new functions for vCPUID/vaffinity transformation

There are 3 places to change:

* Initialise vMPIDR value in vcpu_initialise()
* Find the vCPU from vMPIDR affinity information when accessing GICD
  registers in vGIC
* Find the vCPU from vMPIDR affinity information when booting with vPSCI
  in vGIC
  - Both PSCI 0.1 and PSCI 0.2 are modified to respect the MPIDR like.

Signed-off-by: Chen Baozi <baozich@gmail.com>
Reviewed-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain.c
xen/arch/arm/vgic-v3.c
xen/arch/arm/vpsci.c